package com.inifitness.tenant.core.system.model.entity;


import java.io.Serial;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableField;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 用户和角色关联表
 *
 * @author sunjinfeng
 * @since 2024/04/18 11:00:00
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BizUserAcctRole implements Serializable {

  /**
   * 用户ID
   */
  private Long userId;

  /**
   * 角色ID
   */
  private Long roleId;

  @TableField(exist = false)
  @Serial
  private static final long serialVersionUID = 7054612221944477962L;
}